<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>

<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>登录-股市日记</title>
    
	<jsp:include page="/core/tool/resources.jsp"></jsp:include>
	<script>
	 function changeDateType(){
	 	var checked = $("#analysisDateType").switchbutton("options").checked;
	 }
	 function clickButton(){
	 	$('#ff').form('submit', {    
	   		url:"./test.do"
		});  
	 }
	</script>
  </head>
  
  <body>
  	<a class="easyui-linkbutton" iconCls='icon-search' onclick="clickButton()">开始分析</a>
  		<form id="ff">
  		<input name="one" class="easyui-textbox"/> 
	 	<input id="analysisDateType" name="analysisDateType" class="easyui-switchbutton" 
	 	style="height:25px;width:70px" checked data-options="onText:'时间长度',offText:'时间段',onChange:changeDateType"/>
	 	</form>
  </body>
  
</html>
